package com.carrental.api.ums.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.carrental.api.common.query.CommonQueryParam;
import com.carrental.api.ums.domain.UmsFeedback;
import com.carrental.api.ums.domain.UmsFeedback;
import com.carrental.api.ums.domain.bo.UmsFeedbackBo;
import com.carrental.api.ums.domain.vo.UmsFeedbackVo;
import com.carrental.api.ums.domain.bo.UmsFeedbackBo;
import com.carrental.api.ums.domain.vo.UmsFeedbackVo;
import com.carrental.api.ums.mapper.UmsFeedbackMapper;
import com.carrental.common.core.page.TableDataInfo;
import com.carrental.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 反馈反馈信息Service接口
 *
 * @author liangyi
 * @date 2022-03-27
 */
public interface IUmsFeedbackService extends IService<UmsFeedback> {

    /**
     * 增加反馈
     * @param feedbackBo bo
     * @return is
     */
    Boolean create(UmsFeedbackBo feedbackBo);

    /**
     * 增加反馈
     * @param id id
     * @return is
     */
    Boolean delete(Long id);

    /**
     * 增加反馈
     * @param feedbackBo bo
     * @return
     */
    Boolean update(Long id,UmsFeedbackBo feedbackBo);

    /**
     * 增加反馈
     * @param id bo
     * @return is
     */
    UmsFeedbackVo detail(Long id);

    /**
     * 反馈分页
     * @param commonQueryParam 查询参数
     * @return is
     */
    IPage<UmsFeedbackVo> feedbackPage(CommonQueryParam commonQueryParam);

    /**
     * 反馈列表
     * @param commonQueryParam 查询参数
     * @return list
     */
    List<UmsFeedbackVo> feedbackList(CommonQueryParam commonQueryParam);
}
